package com.heima.zhuangshi;

public class DianTea {
    public static void main(String[] args) {
        Tea myTea = new MyTea();
        myTea.zuo();
        myTea.getTea();

        System.out.println("------------");

        HongTea hongTea = new HongTea(myTea);
        hongTea.zuo();
        hongTea.getTea();
    }
}
